﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Request.Account
{
    public class LoginRequest
    {
        /// <summary>
        /// 图标验证码标识
        /// </summary>
        [Required(ErrorMessage = "图标验证码标识必填")]
        public string ImgId { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        [Required(ErrorMessage = "验证码必填")]
        public string Code { get; set; }

        /// <summary>
        /// 登录账号(或者手机号)
        /// </summary>
        [Required(ErrorMessage = "登录账号必填")]
        public string LoginName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "密码必填")]
        public string Password { get; set; }
    }
}
